package com.fzn.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @program: springcloud
 * 描述：     手写负载均衡
 * @author: fzn
 * @create: 2022-03-12 17:49
 **/
public interface LoadBalancer {
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}